package com.group9.mapper;

import com.group9.pojo.FruitInfo;
import com.group9.pojo.FruitInfoExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface FruitInfoMapper {
    int countByExample(FruitInfoExample example);

    int deleteByExample(FruitInfoExample example);

    int deleteByPrimaryKey(Integer fruitId);

    int insert(FruitInfo record);

    int insertSelective(FruitInfo record);

    List<FruitInfo> selectByExampleWithBLOBs(FruitInfoExample example);

    List<FruitInfo> selectByExample(FruitInfoExample example);

    FruitInfo selectByPrimaryKey(Integer fruitId);

    int updateByExampleSelective(@Param("record") FruitInfo record, @Param("example") FruitInfoExample example);

    int updateByExampleWithBLOBs(@Param("record") FruitInfo record, @Param("example") FruitInfoExample example);

    int updateByExample(@Param("record") FruitInfo record, @Param("example") FruitInfoExample example);

    int updateByPrimaryKeySelective(FruitInfo record);

    int updateByPrimaryKeyWithBLOBs(FruitInfo record);

    int updateByPrimaryKey(FruitInfo record);
}